/**
 * 
 */
package cn.edu.sjtu.se.dslab.service;

import java.util.List;
import java.util.Set;

import cn.edu.sjtu.se.dslab.component.data.DomainEntity;
import cn.edu.sjtu.se.dslab.project.EntityZone;

/**
 * @author longshaohang
 *
 */
public interface IEntityZoneService {
	
	public EntityZone getEntityZoneById(long id);

	public EntityZone getEntityZoneByName(String name);
	
	public List<EntityZone> getEntityZoneList();
	
	public boolean addEntityZone(EntityZone entityZone, long projectId);

	public EntityZone updateEntityZone(EntityZone button);
	
	public boolean deleteEntityZoneById(long buttonId);
	
	public List<EntityZone> getEntityZoneByProject(long projectId);
	
	public DomainEntity getDomainEntity(long entityZoneId);

	public EntityZone getEntityZoneByProjectAndName(long projectId, String name);

	public List<EntityZone> getEntityZoneByCategory(long categoryId);
	
	//public Set<DomainEntity> getEntitySet(long entityZoneId);
	
	//public void addEntityToZone(long entityZoneId, List<DomainEntity> entityList);
	
}
